#===============================================================================
# @brief    cmake file
# Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
#===============================================================================
if(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_AROUND_DEVICES_SERVER)
set(SOURCES_LIST
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_uart_server/sle_uart_server_adv.c
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_uart_server/sle_uart_server.c
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_car_server.c
    # ${CMAKE_CURRENT_SOURCE_DIR}/sle_car_aircondition.c # 车载空调
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_car_ambient_light.c # 车载氛围灯
    # ${CMAKE_CURRENT_SOURCE_DIR}/sle_car_enviroment.c # 车载环境监测
    # ${CMAKE_CURRENT_SOURCE_DIR}/environment/aht20.c # 车载环境监测
    # ${CMAKE_CURRENT_SOURCE_DIR}/sle_car_key.c # 车钥匙
)
set(HEADER_LIST 
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_uart_server/
    ${CMAKE_CURRENT_SOURCE_DIR}/environment/
    ${CMAKE_CURRENT_SOURCE_DIR}
)
endif()

set(SOURCES "${SOURCES}" ${SOURCES_LIST} PARENT_SCOPE)
set(PUBLIC_HEADER "${PUBLIC_HEADER}" ${HEADER_LIST} PARENT_SCOPE)